str1 = input("请输入一串字符串")
count = 0
for i in str1:
    if i == "a" or i == "A":
        count += 1
print("a出现的次数为：",count)